package com.baomidou.wechat.vo.push;

import java.util.Map;

import com.baomidou.wechat.vo.event.BasicEvent;

/**
 * 模板消息处理事件
 */
public class SentTmlJobEvent extends BasicEvent {

	/**
	 * 消息id
	 */
	private String msgId;
	/**
	 * 发送状态: success,failed:user block,failed: system failed
	 */
	private String status;

	public SentTmlJobEvent() {
		super();
	}

	public SentTmlJobEvent(Map<String, String> values) {
		super(values);
		this.msgId = values.get("msgId");
		this.status = values.get("status");
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "TemplateJobEvent [toUserName=" + toUserName + ", fromUserName=" + fromUserName + ", createTime="
				+ createTime + ", msgType=" + msgType + ", event=" + event + ", eventKey=" + eventKey + ", msgId="
				+ msgId + ", status=" + status + "]";
	}
}
